import request from "@/api/index"

export default {
    //添加
    add(params) {
        return request.post("/batch/inputPond/add", {
            ...params
        })
    },
    //编辑
    edit(params) {
        return request.post("/batch/inputPond/edit", {
            ...params
        })
    },
    //批量删除
    delListById(idList) {
        return request.get("/batch/inputPond/delListById", { idList })
    },
    //条件查询
    queryByCondition(params) {
        return request.post("/batch/inputPond/queryByCondition", {
            ...params
        })
    },
    //分页查询
    queryPageByCondition(params) {
        return request.post("/batch/inputPond/queryPageByCondition", {
            ...params
        })
    },
    //投塘主页面展示
    queryPageForInputPondHome(params) {
        return request.post("/batch/inputPond/queryPageForInputPondHome", {
            ...params
        })
    },
    //条件查询投塘详情信息
    batchPondInfoList(params) {
        return request.post("/batch/batchPond/queryByCondition", {
            ...params
        })
    },
    //分页x查询投塘详情信息
    batchPondInfoPageList(params) {
        return request.post("/batch/batchPond/queryPageByCondition", {
            ...params
        })
    },
    //封塘
    closePond(id) {
        return request.get("/batch/batch/closePond", {
            id
        })
    },

}
